package org.njjnox.atm;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class StartAtm {

	public static void main(String[] args) {
		
		ApplicationContext context = new ClassPathXmlApplicationContext("app-config.xml");
		Transaction transaction = (Transaction)context.getBean("transaction");
		transaction.sendCash();
		
	}

}
